#pragma once
class C3DS;
class GMap
{
public:
	GMap(void);
	static GMap& Inst();
	void Set3dsModel(DWORD dwID);
	void RotateCamera(float step);
	void TranslateCamera(float step);
	void ScaleCamera(float step);
	void SetLookAt(int w, int h);
	void Draw(int w, int h);
	void KeyDown(char ch);
	void MouseWheel(int npos);
	~GMap(void);
private:
	GVertex m_vCameraPos;
	float	m_angleZ;
	CRITICAL_SECTION	m_cs;
	C3DS*	m_pModel;
};
